package com.android.net.service

import android.content.Intent
import android.os.IBinder
import androidx.lifecycle.LifecycleService

class DownloadService : LifecycleService() {
    var mDownloadBinder: DownloadBinder? = null
    override fun onCreate() {
        super.onCreate()
        mDownloadBinder = DownloadBinder(this)
    }

    override fun onBind(intent: Intent): IBinder? {
        super.onBind(intent)
        return mDownloadBinder
    }
}